package stud.mpgame.flash.preview;

import stud.mpgame.network.MessageDescription;
import stud.mpgame.flash.preview.ReadyToGame;

/**
 * ...
 * @author ghfjsdkl
 */

class ReadyToGameMessageDescription extends MessageDescription {
    
	private static var ID = 5;
    private static var instance:ReadyToGameMessageDescription = null;
	
	public override function getID():Int {
        return ID;
    }

 	public function new() {
		super();
        this.registerUserObject(ID, ReadyToGame);
	}
    
	public static function getInstance():ReadyToGameMessageDescription {
        if(instance == null){
            instance = new ReadyToGameMessageDescription();
        }
        return instance;
    }
}